]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
keyboard: Capture and bubble event in maybeHandleEvent
authorJonas Dreßler <verdre@v0yd.nl>
Wed, 6 Apr 2022 10:50:32 +0000 (12:50 +0200)
committerMarge Bot <marge-bot@gnome.org>
Sat, 23 Apr 2022 09:42:18 +0000 (09:42 +0000)
Right now the clutter_actor_event() call here errors out because the
second argument is missing, make it capture and bubble the event
properly to fix that.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2263>

js/ui/keyboard.js

index 37c71b16b642c85fb886b341e99ed86355a26f85..e0c42219e5748ec52533e162267f0573ae0f70df 100644 (file)
@@ -1276,7 +1276,8 @@ var KeyboardManager = class KeyBoardManager {
 
         if (Main.layoutManager.keyboardBox.contains(actor) ||
             !!actor._extendedKeys || !!actor.extendedKey) {
-            actor.event(event);
+            actor.event(event, true);
+            actor.event(event, false);
             return true;
         }